package com.wcity.manage.dao.mapper;

import com.wcity.manage.dao.dal.BaseMapper;
import com.wcity.manage.dao.model.Block;
import com.wcity.manage.dao.model.NightDuty;
import com.wcity.manage.dao.model.OnDuty;
import org.springframework.stereotype.Repository;

import java.io.Serializable;

/**
 * 值班信息管理模块
 * Created by zm on 2016/12/14.
 */
@Repository
public interface PropertyNightDutyMapper extends BaseMapper<NightDuty, Serializable> {
    /**
     * 根据id获取表单数据
     * @param id
     * @return
     */
    NightDuty getDutyInfo(String id);

    /**
     * 根据小区id获取小区名称
     * @param blockId
     * @return
     */
    Block getBlockName(int blockId);
}
